package com.sjgtw.cloud.app.riskReporting.domain;

import com.sjgtw.cloud.common.core.annotation.Excel;
import com.sjgtw.cloud.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 风险上报对象 t_eg_risk_reporting
 * 
 * @author ruoyi
 * @date 2024-03-17
 */
public class RiskReporting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 上报人id */
    @Excel(name = "上报人id")
    @ApiModelProperty("上报人id")
    private Long createUserId;

    /** 应急类型 */
    @Excel(name = "应急类型")
    @ApiModelProperty("应急类型")
    private String emergencyType;

    /** 风险类型 */
    @Excel(name = "风险类型")
    @ApiModelProperty("风险类型")
    private String riskType;

    /** 工区id */
    @Excel(name = "工区id")
    @ApiModelProperty("工区id")
    private Long workAreaId;

    /** 上报单位id */
    @Excel(name = "上报单位id")
    @ApiModelProperty("上报单位id")
    private Long deptId;

    /** 下发人员ids */
    @Excel(name = "下发人员ids")
    @ApiModelProperty("下发人员ids")
    private String distributeUserIds;

    /** 已确认人员ids */
    @Excel(name = "已确认人员ids")
    @ApiModelProperty("已确认人员ids")
    private String confirmUserIds;

    /** 责任人 */
    @Excel(name = "责任人")
    @ApiModelProperty("责任人")
    private String person;

    /** 是否影响行车 */
    @Excel(name = "是否影响行车")
    @ApiModelProperty("是否影响行车")
    private Integer isEffectTrip;

    /** 是否需要大型器械 */
    @Excel(name = "是否需要大型器械")
    @ApiModelProperty("是否需要大型器械")
    private Integer isUseEquipment;

    /** 是否需要联肪单位协助 */
    @Excel(name = "是否需要联肪单位协助")
    @ApiModelProperty("是否需要联肪单位协助")
    private Integer isJointDefenseUnit;

    /** 储备物资是否满足致援需求 */
    @Excel(name = "储备物资是否满足致援需求")
    @ApiModelProperty("储备物资是否满足致援需求")
    private Integer isEnoughGoods;

    /** 救援路径是否畅通 */
    @Excel(name = "救援路径是否畅通")
    @ApiModelProperty("救援路径是否畅通")
    private Integer isUnimpeded;

    /** 图片名称 */
    @Excel(name = "图片名称")
    @ApiModelProperty("图片名称")
    private String fileName;

    /** 图片url */
    @Excel(name = "图片url")
    @ApiModelProperty("图片url")
    private String fileUrl;

    /** 风险位置 */
    @Excel(name = "风险位置")
    @ApiModelProperty("风险位置")
    private String riskLocation;

    /** 里程 */
    @Excel(name = "里程")
    @ApiModelProperty("里程")
    private String mileage;

    /** 车站 */
    @Excel(name = "车站")
    @ApiModelProperty("车站")
    private String station;

    /** 站线或者岔道 */
    @Excel(name = "站线或者岔道")
    @ApiModelProperty("站线或者岔道")
    private Integer isTrackOrSwitch;

    /** 股道 */
    @Excel(name = "股道")
    @ApiModelProperty("股道")
    private String stationTrack;

    /** 道岔 */
    @Excel(name = "道岔")
    @ApiModelProperty("道岔")
    private String point;

    @ApiModelProperty("状态  0 草稿 1 已上报  2 已下发  3 已完成")
    private Integer status;

    @Excel(name = "经度")
    @ApiModelProperty("经度")
    private String longitude;

    @Excel(name = "纬度")
    @ApiModelProperty("纬度")
    private String latitude;

    @Excel(name = "上道地点id")
    @ApiModelProperty("上道地点id")
    private Long upperId;

    @Excel(name = "应急路径id")
    @ApiModelProperty("应急路径id")
    private Long pathId;

    private String lng1;
    private String lat1;
    private String lng2;
    private String lat2;

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getDistributeUserIds() {
        return distributeUserIds;
    }

    public void setDistributeUserIds(String distributeUserIds) {
        this.distributeUserIds = distributeUserIds;
    }

    public String getConfirmUserIds() {
        return confirmUserIds;
    }

    public void setConfirmUserIds(String confirmUserIds) {
        this.confirmUserIds = confirmUserIds;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setEmergencyType(String emergencyType) {
        this.emergencyType = emergencyType;
    }

    public void setRiskType(String riskType) {
        this.riskType = riskType;
    }

    public void setWorkAreaId(Long workAreaId) {
        this.workAreaId = workAreaId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getEmergencyType() {
        return emergencyType;
    }

    public String getRiskType() {
        return riskType;
    }

    public Long getWorkAreaId() {
        return workAreaId;
    }

    public void setPerson(String person)
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setIsEffectTrip(Integer isEffectTrip) 
    {
        this.isEffectTrip = isEffectTrip;
    }

    public Integer getIsEffectTrip() 
    {
        return isEffectTrip;
    }
    public void setIsUseEquipment(Integer isUseEquipment) 
    {
        this.isUseEquipment = isUseEquipment;
    }

    public Integer getIsUseEquipment() 
    {
        return isUseEquipment;
    }
    public void setIsJointDefenseUnit(Integer isJointDefenseUnit) 
    {
        this.isJointDefenseUnit = isJointDefenseUnit;
    }

    public Integer getIsJointDefenseUnit() 
    {
        return isJointDefenseUnit;
    }
    public void setIsEnoughGoods(Integer isEnoughGoods) 
    {
        this.isEnoughGoods = isEnoughGoods;
    }

    public Integer getIsEnoughGoods() 
    {
        return isEnoughGoods;
    }
    public void setIsUnimpeded(Integer isUnimpeded) 
    {
        this.isUnimpeded = isUnimpeded;
    }

    public Integer getIsUnimpeded() 
    {
        return isUnimpeded;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUrl(String fileUrl) 
    {
        this.fileUrl = fileUrl;
    }

    public String getFileUrl() 
    {
        return fileUrl;
    }
    public void setRiskLocation(String riskLocation) 
    {
        this.riskLocation = riskLocation;
    }

    public String getRiskLocation() 
    {
        return riskLocation;
    }
    public void setMileage(String mileage) 
    {
        this.mileage = mileage;
    }

    public String getMileage() 
    {
        return mileage;
    }
    public void setStation(String station) 
    {
        this.station = station;
    }

    public String getStation() 
    {
        return station;
    }
    public void setIsTrackOrSwitch(Integer isTrackOrSwitch) 
    {
        this.isTrackOrSwitch = isTrackOrSwitch;
    }

    public Integer getIsTrackOrSwitch() 
    {
        return isTrackOrSwitch;
    }
    public void setStationTrack(String stationTrack) 
    {
        this.stationTrack = stationTrack;
    }

    public String getStationTrack() 
    {
        return stationTrack;
    }
    public void setPoint(String point) 
    {
        this.point = point;
    }

    public String getPoint() 
    {
        return point;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public Long getUpperId() {
        return upperId;
    }

    public void setUpperId(Long upperId) {
        this.upperId = upperId;
    }

    public Long getPathId() {
        return pathId;
    }

    public void setPathId(Long pathId) {
        this.pathId = pathId;
    }

    public String getLng1() {
        return lng1;
    }

    public void setLng1(String lng1) {
        this.lng1 = lng1;
    }

    public String getLat1() {
        return lat1;
    }

    public void setLat1(String lat1) {
        this.lat1 = lat1;
    }

    public String getLng2() {
        return lng2;
    }

    public void setLng2(String lng2) {
        this.lng2 = lng2;
    }

    public String getLat2() {
        return lat2;
    }

    public void setLat2(String lat2) {
        this.lat2 = lat2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("emergencyType", getEmergencyType())
            .append("riskType", getRiskType())
            .append("workAreaId", getWorkAreaId())
            .append("person", getPerson())
            .append("isEffectTrip", getIsEffectTrip())
            .append("isUseEquipment", getIsUseEquipment())
            .append("isJointDefenseUnit", getIsJointDefenseUnit())
            .append("isEnoughGoods", getIsEnoughGoods())
            .append("isUnimpeded", getIsUnimpeded())
            .append("fileName", getFileName())
            .append("fileUrl", getFileUrl())
            .append("riskLocation", getRiskLocation())
            .append("mileage", getMileage())
            .append("station", getStation())
            .append("isTrackOrSwitch", getIsTrackOrSwitch())
            .append("stationTrack", getStationTrack())
            .append("point", getPoint())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
